<template>
  <view class="examHeaderSection">
    <image
      class="examHeaderSection-icon"
      src="@/pagesA/static/images/exam/exam_answer_icon.png"
    >
    </image>
    <view class="examHeaderSection-title">{{ title }}</view>
  </view>
</template>

<script lang="ts" setup>
defineProps({
  title: {
    type: String,
    default: "",
  },
});
</script>

<style lang="scss" scoped>
.examHeaderSection {
  padding-top: 24rpx;
  padding-bottom: 16rpx;
  height: 40rpx;
  display: flex;
  flex-direction: row;
  align-items: center;
  &-icon {
    width: 36rpx;
    height: 36rpx;
  }
  &-title {
    padding-left: 24rpx;
    font-weight: 500;
    font-size: 32rpx;
    color: #333333;
    line-height: 40rpx;
  }
}
</style>
